﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>用户登录</title>
    <link href="http://192.168.112.141/admin/css/bootstrap.css" rel="stylesheet" />
    <link href="http://192.168.112.141/admin/css/base.css" rel="stylesheet" />
</head>
<body style="min-height:800px; height: auto">
	<div class="container-fluid">
		<div class="row" style="margin-top:70px">
			<div class="main-right col-md-4 col-md-offset-4">
				<div class="col-md-12">
					<div class="panel panel-default ">
                        <div class="panel-heading">用户登录</div>
                        <div class="panel-body">
							<#if error??>
								<div style="color: red">${error}</div>
							</#if>
                            <form action="/login" method="post" style="padding-top: 20px">
								<input type="hidden" name="articleId" value="${articleId!}"/>
                                <div class="form-group">
                                    <input type="text" name="username" class="form-control" value="${username!}" placeholder="用户名">
                                </div>
                                <div class="form-group">
                                    <input type="password" name="password" class="form-control" value="${password!}" placeholder="密　码">
                                </div>

								<div class="row" style="padding-top:20px">
									<div class="col-md-4 col-md-offset-4" align="center">
										<button type="submit" class="btn btn-default">登　录</button>
									</div>
									<div class="col-md-4" align="right">
										<p class="help-block">
											<#if articleId??>
												<a href="/phone?articleId=${articleId}">手机登录</a>
											<#else>
												<a href="/phone">手机登录</a>
											</#if>
										</p>
									</div>
								</div>
                          
                            </form>
                        </div>
                    </div>
				</div>
			</div>
		</div>
	</div>
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script type="text/javascript">

</script>
</body>
</html>